﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace SqlSugarEncapsulation.Common
{
    /// <summary>
    /// 版块主表
    /// </summary>
    [Serializable]
    public class Section
    {
        /// <summary>
        /// 版块ID
        /// </summary>
        [Key]
        [SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = false)]
        public Guid SID { get; set; }
        /// <summary>
        /// 版块名称
        /// </summary>
        public string SName { get; set; }
        /// <summary>
        /// 版块编码
        /// </summary>
        public string SCode { get; set; }
        /// <summary>
        /// 版块默认样式
        /// </summary>
        public string SectionStyle { get; set; }
        /// <summary>
        /// 版块类别
        /// </summary>
        public int SectionCategory { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsEnable { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public Guid UserID { get; set; }
        /// <summary>
        /// APP编号
        /// </summary>
        public Guid AppID { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime SubTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifiedOn { get; set; }
        /// <summary>
        /// 本版块是否属于某些馆
        /// </summary>
        public string HasGuan { get; set; }
    }
}
